package com.senken.service;

import com.senken.entity.Declares;

import java.util.List;

import com.baomidou.framework.service.ISuperService;

/**
 *
 * Declares 表数据服务层接口
 *
 */
public interface IDeclaresService extends ISuperService<Declares> {

	List<Declares> selectdeclare();

	Declares addDeclares(String customer, String name, String phone, String device, String code, int num, String des,
			String way);


	List<Declares> selectdeclareByFid(int fid, int state, int page);

	int selectCountsByfidStateAndPage(int fid, int state);

	boolean createWo(int Hid);

	List<Declares> selectdeclareByState(int fid, int state, int page);

	boolean finish(int hid, String solution);

	int finishcounts(int state);

	List<Declares> selectfinish(int state, int page);


}